<template>
    <div class="news">
        <h2>新闻组件</h2>
        <router-link :to="'/news/hot'">点击查看新闻热点</router-link>
        <br>
        <router-link :to="'/news/girl'">点击查看美女图片</router-link>
        <br>
        <router-view></router-view>
        <router-view name="a"></router-view>
    </div>
</template>

<script>
    export default {
        name: "News"
    }
</script>

<style scoped>
.news{
    width: 100%;
    height: 70%;
}
</style>